<%-- $Id: discAdd.jsp 91 2006-08-07 06:54:50Z huijzer $ --%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>

	<head>
		<title>Disc :: Add</title>
		<meta name="object" content="disc">
	</head>

	<body>
  
		<div id="apphead">
			<h2>Disc :: <em>Add</em></h2>
		</div>

		<div id="projecthome" class="app">

			<form:form commandName="disc" enctype="multipart/form-data">
				<div id="axial" class="h3">
					<h3>Data</h3>
					<div class="axial">
						<table border="0" cellspacing="2" cellpadding="3">
							<tr>
								<th>Title</th>
								<td>
									<form:input path="title" size="100"/>
									<form:errors path="title" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>Artist</th>
								<td>
									<form:select items="${artists}" path="artist" itemLabel="name" itemValue="id"/>
									<form:errors path="artist" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>Year</th>
								<td>
									<form:input path="year" size="20"/>
									<form:errors path="year" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>AMG Rating</th>
								<td>
									<form:input path="amgRating" size="20"/>
									<form:errors path="amgRating" cssClass="errormark"/>
								</td>
							</tr>
							<tr>
								<th>Cover</th>
								<td>
									<input type="file" name="cover"/>
								</td>
							</tr>
							<tr>
								<th>Comment</th>
								<td>
									<form:input path="comment" size="20"/>
									<form:errors path="comment" cssClass="errormark"/>
								</td>
							</tr>
						</table>
					</div>
					<div class="functnbar3">
						<input type="submit"/>
					</div>
				</div>
			</form:form>

		</div>

	</body>

</html>